﻿// <copyright file="Asset.cs" company="Microsoft Corporation">
// Copyright (c) 2009 Microsoft Corporation All Rights Reserved
// </copyright>
// <author>Michael S. Scherotter</author>
// <email>mischero@microsoft.com</email>
// <date>2009-4-22</date>
// <summary>A URL Asset on NYTimes.com</summary>

namespace NYTimes.Data
{
    using System;

    /// <summary>
    /// A URL Asset
    /// </summary>
    public class Asset
    {
        /// <summary>
        /// Gets or sets the URL to the asset
        /// </summary>
        public Uri Url { get; set; }

        /// <summary>
        /// Gets or sets the Comments API Url
        /// </summary>
        public Uri CommentsUrl { get; set; }

        /// <summary>
        /// Gets the properties and values listed
        /// </summary>
        /// <returns>a string with the property names and values</returns>
        public override string ToString()
        {
            return Synergist.Utility.GetProperties(this);
        }
    }
}
